Unfortunately we can't do gobject-introspection based tests
while compiling with `-fsanitize=address`, since it needs to hook
`malloc` early on.
Add a new suite which just runs the introspection-based tests without ASAN.
Closes: #1016
Approved by: jlebon
---
+inherit: true
+required: true
+
+context: f26-introspection-tests
+
+env:
+ CONFIGOPTS: "--with-curl --with-openssl"
+ # ASAN conflicts with introspection testing;
+ # See https://github.com/ostreedev/ostree/issues/1014
+ INSTALLED_TESTS_PATTERN: "libostree/test-sizes.js libostree/test-sysroot.js libostree/test-core.js libostree/test-corrupt-repo-ref.js"
+
+tests:
+ - ci/build-check.sh
+
+---
+
inherit: false
branches:
- master
# And now run the installed tests
make install
if test -x /usr/bin/gnome-desktop-testing-runner; then
- gnome-desktop-testing-runner -p 0 libostree/
+ gnome-desktop-testing-runner -p 0 ${INSTALLED_TESTS_PATTERN:-libostree/}
fi
if test -x /usr/bin/clang; then